package com.lik.javadeep.tree;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@NoArgsConstructor
public class BinNode {
    private Object data;
    private BinNode parent;
    private BinNode leftChild;
    private BinNode rightChild;

    public BinNode(Object data) {
        this.data = data;
    }

}
